import type { HotItem, HotType } from '@/types/hot'
import { http } from '@/utils/request'
//热门推荐共同-小程序
export const getHotCommen = (url: string, data?: HotType) => {
  return http<HotItem>({
    url,
    method: 'GET',
    data
  })
}